package cn.com.zetatech.loader.entity;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class MyRectangle2D {
    private float xIndex;
    private float yIndex;
    private float width;
    private float height;
    private BigDecimal defectId;

    public MyRectangle2D(BigDecimal defectId, float xIndex, float yIndex, float width, float height) {
        this.xIndex = xIndex;
        this.yIndex = yIndex;
        this.width = width;
        this.height = height;
        this.defectId = defectId;
    }
}
